package com.vivien.example.springbootdemo.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@NoArgsConstructor
public class OrderResponse {
    public OrderResponse(List<Order> orders,Integer count){
        this.list=orders;
        this.count=count;
    }
    List<Order> list;
    Integer count;
}
